// comment
// 查询table数据
export const QUERYTABLELIST = 'queryTableList';
// 更新table
export const UPDATETABLE = 'updateTable';
// 更新搜索表单数据
export const UPDATESEARCHFORM = 'updateSearchForm';
// 添加
export const ADD = 'add';
// 编辑
export const EDIT = 'edit';
// 删除
export const DELETE = 'delete';

// 用户管理页面
// 命名空间
export const MANAGEMENTUSER = 'managementUser';

// 常量
// 编辑密码
export const EDITPASSWORD = 'editPassword';
// 编辑用户
export const EDITUSER = 'editUser';
// 编辑用户角色
export const EDITUSERROLE = 'editRole';
// 查询所有部门列表
export const QUERYDEPARTMENTALL = 'queryDepartmentAll';
// 删除用户
export const DELETEUSER = 'deleteUser';
// 重置密码
export const RESETPASSWORD = 'resetPassword';
// 获取角色列表
export const GETROLELIST = 'getRoleList';
// 更新角色列表
export const UPDATEROLELIST = 'updateRoleList';
// 更新所有部门列表
export const UPDATEDEPARTMENTALL = 'updateDepartmentAll';
// 添加用户
export const ADDUSER = 'addUser';

// 重置mfa
export const RESETMFA = 'resetMfa';

// typeUrl
export const MANAGEMENTUSER_QUERYTABLELIST = `${MANAGEMENTUSER}/${QUERYTABLELIST}`;
export const MANAGEMENTUSER_EDITPASSWORD = `${MANAGEMENTUSER}/${EDITPASSWORD}`;
export const MANAGEMENTUSER_EDITUSERROLE = `${MANAGEMENTUSER}/${EDITUSERROLE}`;
export const MANAGEMENTUSER_EDITUSER = `${MANAGEMENTUSER}/${EDITUSER}`;
export const MANAGEMENTUSER_UPDATESEARCHFORM = `${MANAGEMENTUSER}/${UPDATESEARCHFORM}`;
export const MANAGEMENTUSER_UPDATETABLE = `${MANAGEMENTUSER}/${UPDATETABLE}`;
export const MANAGEMENTUSER_RESETPASSWORD = `${MANAGEMENTUSER}/${RESETPASSWORD}`;
export const MANAGEMENTUSER_GETROLELIST = `${MANAGEMENTUSER}/${GETROLELIST}`;
export const MANAGEMENTUSER_DELETEUSER = `${MANAGEMENTUSER}/${DELETEUSER}`;
export const MANAGEMENTUSER_QUERYDEPARTMENTALL = `${MANAGEMENTUSER}/${QUERYDEPARTMENTALL}`;
export const MANAGEMENTUSER_UPDATEDEPARTMENTALL = `${MANAGEMENTUSER}/${UPDATEDEPARTMENTALL}`;
export const MANAGEMENTUSER_UPDATEROLELIST = `${MANAGEMENTUSER}/${UPDATEROLELIST}`;
export const MANAGEMENTUSER_ADDUSER = `${MANAGEMENTUSER}/${ADDUSER}`;
export const MANAGEMENTUSER_RESETMFA = `${MANAGEMENTUSER}/${RESETMFA}`;

// 部门管理页面
// 命名空间
export const MANAGEMENTDEPARTMENT = 'managementDepartment';

// 常量
// 添加部门
export const ADDDEPARTMENT = 'addDepartment';
// 删除部门
export const DELETEDEPARTMENT = 'deleteDepartment';
// 编辑部门
export const EDITDEPARTMENT = 'editDepartment';

// typeUrl
// typeUrl
export const MANAGEMENTDEPARTMENT_QUERYTABLELIST = `${MANAGEMENTDEPARTMENT}/${QUERYTABLELIST}`;
export const MANAGEMENTDEPARTMENT_UPDATESEARCHFORM = `${MANAGEMENTDEPARTMENT}/${UPDATESEARCHFORM}`;
export const MANAGEMENTDEPARTMENT_ADDDEPARTMENT = `${MANAGEMENTDEPARTMENT}/${ADDDEPARTMENT}`;
export const MANAGEMENTDEPARTMENT_DELETEDEPARTMENT = `${MANAGEMENTDEPARTMENT}/${DELETEDEPARTMENT}`;
export const MANAGEMENTDEPARTMENT_EDITDEPARTMENT = `${MANAGEMENTDEPARTMENT}/${EDITDEPARTMENT}`;

// 角色管理页面
// 命名空间
export const ROLE = 'role';

// 常量

// 分配权限
export const EDIT_ROLE_PERMISSION = 'editRolePermission';
// typeUrl
export const ROLE_QUERYTABLELIST = `${ROLE}/${QUERYTABLELIST}`;
export const ROLE_UPDATESEARCHFORM = `${ROLE}/${UPDATESEARCHFORM}`;
export const ROLE_ADD = `${ROLE}/${ADD}`;
export const ROLE_DELETE = `${ROLE}/${DELETE}`;
export const ROLE_EDIT = `${ROLE}/${EDIT}`;
export const ROLE_EDIT_ROLE_PERMISSION = `${ROLE}/${EDIT_ROLE_PERMISSION}`;

// 权限管理页面
// 命名空间
export const AUTHORITY = 'authority';
// 获取权限类型列表
export const GET_PERMISSION_TYPE_LIST = 'getPermissionTypeList';
// 更新权限类型列表
export const SET_PERMISSION_TYPE_LIST = 'setPermissionTypeList';
// 获取权限列表
export const GET_PERMISSION_LIST = 'getPermissionList';
// 更新权限列表
export const SET_PERMISSION_LIST = 'setPermissionList';
// 获取权限信息
export const GET_PERMISSION_INFO = 'getPermissionInfo';
// 更新权限信息
export const SET_PERMISSION_INFO = 'setPermissionInfo';
// typeUrl
export const AUTHORITY_ADD = `${AUTHORITY}/${ADD}`;
export const AUTHORITY_EDIT = `${AUTHORITY}/${EDIT}`;
export const AUTHORITY_DELETE = `${AUTHORITY}/${DELETE}`;
export const AUTHORITY_GET_PERMISSION_LIST = `${AUTHORITY}/${GET_PERMISSION_LIST}`;
export const AUTHORITY_GET_PERMISSION_INFO = `${AUTHORITY}/${GET_PERMISSION_INFO}`;
export const AUTHORITY_SET_PERMISSION_LIST = `${AUTHORITY}/${SET_PERMISSION_LIST}`;
export const AUTHORITY_GET_PERMISSION_TYPE_LIST = `${AUTHORITY}/${GET_PERMISSION_TYPE_LIST}`;
export const AUTHORITY_SET_PERMISSION_TYPE_LIST = `${AUTHORITY}/${SET_PERMISSION_TYPE_LIST}`;

// 过滤器配置页面
// 命名空间
export const FILTER = 'filter';
export const FILTER_SORT = 'filterSort';
// typeUrl
export const FILTER_FILTER_SORT = `${FILTER}/${FILTER_SORT}`;
export const FILTER_QUERYTABLELIST = `${FILTER}/${QUERYTABLELIST}`;
export const FILTER_UPDATETABLE = `${FILTER}/${UPDATETABLE}`;
export const FILTER_UPDATESEARCHFORM = `${FILTER}/${UPDATESEARCHFORM}`;
export const FILTER_ADD = `${FILTER}/${ADD}`;
export const FILTER_DELETE = `${FILTER}/${DELETE}`;
export const FILTER_EDIT = `${FILTER}/${EDIT}`;

// 过滤器配置页面
// 命名空间
export const RECORD = 'record';
// typeUrl
export const RECORD_QUERYTABLELIST = `${RECORD}/${QUERYTABLELIST}`;
export const RECORD_UPDATETABLE = `${RECORD}/${UPDATETABLE}`;
export const RECORD_UPDATESEARCHFORM = `${RECORD}/${UPDATESEARCHFORM}`;
